<template>
	<view class="videoPlayer">
		<video :src="'http://localhost:8080/video/'+video" class="video" :loop="true" :controls="false"></video>
	</view>
</template>
 
<script>
	export default {
		name: 'vedioPlayer',
		components: {

		},
		props: {
			video: {
				type: String,
				default: '1-1.mp4'
			}
		},
		watch: {
			wideo() {
				console.log(this.video) 
			}
		}
	}
</script>

<style>
	.video {
		height: 100%;
		width: 100%;
	}

	.videoPlayer {
		height: 100%;
		width: 100%;
	}
</style>
